﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for FleetPackage
/// </summary>
namespace CE.CarInsurance
{
    public class FleetPackage
    {
        private Int64 _fleetcarmoredetailid;
        private Int64 _fleetcarid;
        private Int64 _companyid;
        private Int64 _providercompanyid;
        private string _title;
        private string _customertype;
        private string _customername;
        private string _name;
        private DateTime _dob;
        private string _gender;
        private Int32 _occupation;
        private string _contactno;
        private string _officephoneno;
        private string _identificationno;
        private string _presentaddress;
        private string _subdistrict;
        private string _district;
        private string _province;
        private string _postalcode;
        private string _package;
        private Int32 _noofdriver;
        private Int32 _insurancetype;
        private Int32 _garagetype;
        private Int32 _caryear;
        private string _carmodel;
        private string _size;
        private string _vehicleweight;
        private Int16 _numberofseat;
        private string _beneficiary;
        private Int32 _vehicletype;
        private Int32 _suminsured;
        private Int32 _ncb;
        private string _currentinsurer;
        private string _carplate;
        private string _carplateprovince;
        private string _enginenumber;
        private string _chassisnumber;
        private bool _ismodification;
        private bool _isclaim;
        private DateTime _coveragestart;
        private float _premium;
        private bool _isctpl;
        private float _ctpl;
        private DateTime _ctplstart;
        private float _totalcollectedpremium;
        private float _totalpremium;
        private float _termpremium;
        private string _paymentoption;
        private string _paymenttype;
        private string _paymentbank;
        private Int64 _orderrefnoid;
        private string _orderrefno;
        private Int16 _paymentstatus;
        private Int16 _paymentcode;
        private string _successcode;
        private string _payref;
        private string _authid;
        private string _eci;
        private string _paymentreturnvalues;
        private string _receiptno;
        private string _quoterefno;
        private bool _status;
        private Int16 _cancelstatus;
        private Int64 _refceuserid;
        private Int64 _agentid;
        private Int64 _adminid;
        private string _excel;
        private DateTime _createddate;
        private DateTime _modifieddate;
        private DateTime _uploaddate;
        private string _info1;
        private string _info2;
        private string _info3;
        private Int32 _iscreditcardowner;
        private string _info4; //Accessories or Modifications Cost
        private string _info8; // Agent Remarks
        private string _promotioncode;

        public FleetPackage()
        {
            ClearFields();
        }

        public Int64 FleetCarMoreDetailId
        {
            get { return _fleetcarmoredetailid; }
            set { _fleetcarmoredetailid = value; }
        }

        public Int64 FleetCarId
        {
            get { return _fleetcarid; }
            set { _fleetcarid = value; }
        }

        public Int64 CompanyId
        {
            get { return _companyid; }
            set { _companyid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string CustomerType
        {
            get { return _customertype; }
            set { _customertype = value; }
        }

        public string CustomerName
        {
            get { return _customername; }
            set { _customername = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public DateTime DOB
        {
            get { return _dob; }
            set { _dob = value; }
        }

        public string Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }

        public Int32 Occupation
        {
            get { return _occupation; }
            set { _occupation = value; }
        }

        public string ContactNo
        {
            get { return _contactno; }
            set { _contactno = value; }
        }

        public string OfficePhoneNo
        {
            get { return _officephoneno; }
            set { _officephoneno = value; }
        }

        public string IdentificationNo
        {
            get { return _identificationno; }
            set { _identificationno = value; }
        }

        public string PresentAddress
        {
            get { return _presentaddress; }
            set { _presentaddress = value; }
        }

        public string SubDistrict
        {
            get { return _subdistrict; }
            set { _subdistrict = value; }
        }

        public string District
        {
            get { return _district; }
            set { _district = value; }
        }

        public string Province
        {
            get { return _province; }
            set { _province = value; }
        }

        public string PostalCode
        {
            get { return _postalcode; }
            set { _postalcode = value; }
        }

        public string Package
        {
            get { return _package; }
            set { _package = value; }
        }

        public Int32 NoOfDriver
        {
            get { return _noofdriver; }
            set { _noofdriver = value; }
        }

        public Int32 InsuranceType
        {
            get { return _insurancetype; }
            set { _insurancetype = value; }
        }

        public Int32 GarageType
        {
            get { return _garagetype; }
            set { _garagetype = value; }
        }

        public Int32 CarYear
        {
            get { return _caryear; }
            set { _caryear = value; }
        }

        public string CarModel
        {
            get { return _carmodel; }
            set { _carmodel = value; }
        }

        public string Size
        {
            get { return _size; }
            set { _size = value; }
        }

        public string VehicleWeight
        {
            get { return _vehicleweight; }
            set { _vehicleweight = value; }
        }

        public Int16 NumberofSeat
        {
            get { return _numberofseat; }
            set { _numberofseat = value; }
        }

        public string Beneficiary
        {
            get { return _beneficiary; }
            set { _beneficiary = value; }
        }

        public Int32 VehicleType
        {
            get { return _vehicletype; }
            set { _vehicletype = value; }
        }

        public Int32 SumInsured
        {
            get { return _suminsured; }
            set { _suminsured = value; }
        }

        public Int32 NCB
        {
            get { return _ncb; }
            set { _ncb = value; }
        }

        public string CurrentInsurer
        {
            get { return _currentinsurer; }
            set { _currentinsurer = value; }
        }

        public string CarPlate
        {
            get { return _carplate; }
            set { _carplate = value; }
        }

        public string CarPlateProvince
        {
            get { return _carplateprovince; }
            set { _carplateprovince = value; }
        }

        public string EngineNumber
        {
            get { return _enginenumber; }
            set { _enginenumber = value; }
        }

        public string ChassisNumber
        {
            get { return _chassisnumber; }
            set { _chassisnumber = value; }
        }

        public bool IsModification
        {
            get { return _ismodification; }
            set { _ismodification = value; }
        }

        public bool IsClaim
        {
            get { return _isclaim; }
            set { _isclaim = value; }
        }

        public DateTime CoverageStart
        {
            get { return _coveragestart; }
            set { _coveragestart = value; }
        }

        public float Premium
        {
            get { return _premium; }
            set { _premium = value; }
        }

        public bool IsCTPL
        {
            get { return _isctpl; }
            set { _isctpl = value; }
        }

        public float CTPL
        {
            get { return _ctpl; }
            set { _ctpl = value; }
        }

        public DateTime CTPLStart
        {
            get { return _ctplstart; }
            set { _ctplstart = value; }
        }

        public float TotalCollectedPremium
        {
            get { return _totalcollectedpremium; }
            set { _totalcollectedpremium = value; }
        }

        public float TotalPremium
        {
            get { return _totalpremium; }
            set { _totalpremium = value; }
        }

        public float TermPremium
        {
            get { return _termpremium; }
            set { _termpremium = value; }
        }

        public string PaymentOption
        {
            get { return _paymentoption; }
            set { _paymentoption = value; }
        }

        public string PaymentType
        {
            get { return _paymenttype; }
            set { _paymenttype = value; }
        }

        public string PaymentBank
        {
            get { return _paymentbank; }
            set { _paymentbank = value; }
        }

        public Int64 OrderRefNoId
        {
            get { return _orderrefnoid; }
            set { _orderrefnoid = value; }
        }

        public string OrderRefNo
        {
            get { return _orderrefno; }
            set { _orderrefno = value; }
        }

        public Int16 PaymentStatus
        {
            get { return _paymentstatus; }
            set { _paymentstatus = value; }
        }

        public Int16 PaymentCode
        {
            get { return _paymentcode; }
            set { _paymentcode = value; }
        }

        public string successcode
        {
            get { return _successcode; }
            set { _successcode = value; }
        }

        public string PayRef
        {
            get { return _payref; }
            set { _payref = value; }
        }

        public string AuthId
        {
            get { return _authid; }
            set { _authid = value; }
        }

        public string eci
        {
            get { return _eci; }
            set { _eci = value; }
        }

        public string PaymentReturnValues
        {
            get { return _paymentreturnvalues; }
            set { _paymentreturnvalues = value; }
        }

        public string ReceiptNo
        {
            get { return _receiptno; }
            set { _receiptno = value; }
        }

        public string QuoteRefNo
        {
            get { return _quoterefno; }
            set { _quoterefno = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public Int16 CancelStatus
        {
            get { return _cancelstatus; }
            set { _cancelstatus = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 AdminId
        {
            get { return _adminid; }
            set { _adminid = value; }
        }

        public string Excel
        {
            get { return _excel; }
            set { _excel = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public DateTime UploadDate
        {
            get { return _uploaddate; }
            set { _uploaddate = value; }
        }

        public string Info1 // Application Type
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2 // Last Year Policy No
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3 // Insurer Email
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public Int32 IsCreditCardOwner // tblCEUsrProfile table Ninfo5 field
        {
            get { return _iscreditcardowner; }
            set { _iscreditcardowner = value; }
        }

        public string Info4 // Accessories or Modifications Cost
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info8 //Agent Remarks
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string PromotionCode
        {
            get { return _promotioncode; }
            set { _promotioncode = value; }
        }

        public void ClearFields()
        {
            _fleetcarmoredetailid = 0;
            _fleetcarid = 0;
            _companyid = 0;
            _providercompanyid = 0;
            _title = "";
            _customertype = "";
            _customername = "";
            _name = "";
            _dob = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _gender = "";
            _occupation = 0;
            _contactno = "";
            _officephoneno = "";
            _identificationno = "";
            _presentaddress = "";
            _subdistrict = "";
            _district = "";
            _province = "";
            _postalcode = "";
            _package = "";
            _noofdriver = 0;
            _insurancetype = 0;
            _garagetype = 0;
            _caryear = 0;
            _carmodel = "";
            _size = "";
            _vehicleweight = "";
            _numberofseat = 0;
            _beneficiary = "";
            _vehicletype = 0;
            _suminsured = 0;
            _ncb = 0;
            _currentinsurer = "";
            _carplate = "";
            _carplateprovince = "";
            _enginenumber = "";
            _chassisnumber = "";
            _ismodification = false;
            _isclaim = false;
            _coveragestart = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _premium = 0.0f;
            _isctpl = false;
            _ctpl = 0.0f;
            _ctplstart = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _totalcollectedpremium = 0.0f;
            _totalpremium = 0.0f;
            _termpremium = 0.0f;
            _paymentoption = "";
            _paymenttype = "";
            _paymentbank = "";
            _orderrefnoid = 0;
            _orderrefno = "";
            _paymentstatus = 0;
            _paymentcode = 0;
            _successcode = "";
            _payref = "";
            _authid = "";
            _eci = "";
            _paymentreturnvalues = "";
            _receiptno = "";
            _quoterefno = "";
            _status = false;
            _cancelstatus = 0;
            _refceuserid = 0;
            _agentid = 0;
            _adminid = 0;
            _excel = "";
            _createddate = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _modifieddate = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _uploaddate = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _iscreditcardowner = 0;
            _info4 = "";
            _info8 = "";
            _promotioncode = "0";
        }

    }
}